.patient-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background-color: #f5f5f5;
}

/* 导航栏样式 */
.nav-bar {
    padding: 20rpx 30rpx;
    background-color: #1aad19;
    color: #fff;
}

.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 20rpx;
}

.avatar {
    width: 80rpx;
    height: 80rpx;
    border-radius: 40rpx;
    margin-right: 20rpx;
    background-color: #fff;
}

.welcome {
    font-size: 32rpx;
}

.search-box {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 30rpx;
    padding: 10rpx 20rpx;
}

.search-box input {
    height: 60rpx;
    color: #fff;
    font-size: 28rpx;
}

/* 主内容区样式 */
.main-content {
    flex: 1;
    padding: 0rpx;
    overflow-y: auto;
}

.module-section {
    background-color: #fff;
    border-radius: 20rpx;
    padding: 30rpx;
    margin-bottom: 30rpx;
    box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20rpx;
}

.module-title {
    font-size: 34rpx;
    font-weight: bold;
    color: #333;
}

.module-more {
    font-size: 26rpx;
    color: #999;
}

/* 功能卡片样式 */
.function-cards {
    display: flex;
    justify-content: space-between;
}

.function-card {
    width: 30%;
    background-color: #f9f9f9;
    border-radius: 15rpx;
    padding: 20rpx;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s;
}

.function-card:active {
    transform: scale(0.95);
}

.card-image {
    width: 100rpx;
    height: 100rpx;
    margin-bottom: 15rpx;
}

.card-title {
    font-size: 28rpx;
    color: #333;
}

/* 五道人生卡片样式 */
.five-ways-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.five-ways-card {
    width: 18%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-icon {
    width: 80rpx;
    height: 80rpx;
    border-radius: 40rpx;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32rpx;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10rpx;
}

.thanks-icon {
    background-color: #1aad19;
}

.sorry-icon {
    background-color: #ff9800;
}

.love-icon {
    background-color: #e91e63;
}

.farewell-icon {
    background-color: #2196f3;
}

.wishes-icon {
    background-color: #9c27b0;
}

.card-name {
    font-size: 24rpx;
    color: #333;
}

/* 三维疗法卡片样式 */
.therapy-cards {
    display: flex;
    justify-content: space-between;
}

.therapy-card {
    width: 30%;
    background-color: #f9f9f9;
    border-radius: 15rpx;
    padding: 20rpx;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.therapy-image {
    width: 100rpx;
    height: 100rpx;
    margin-bottom: 15rpx;
}

.therapy-title {
    font-size: 28rpx;
    color: #333;
}

/* AI助手模块样式 */
.ai-assistant-section {
    background-color: #fff;
    border-radius: 20rpx;
    padding: 30rpx;
    margin-bottom: 30rpx;
    box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
}

.ai-card {
    display: flex;
    align-items: center;
}

.ai-icon {
    font-size: 60rpx;
    margin-right: 20rpx;
}

.ai-info {
    flex: 1;
}

.ai-title {
    font-size: 32rpx;
    font-weight: bold;
    color: #333;
}

.ai-desc {
    font-size: 26rpx;
    color: #999;
    margin-top: 5rpx;
}

.ai-arrow {
    font-size: 36rpx;
    color: #999;
}

/* 底部导航栏样式 */
.tab-bar {
    display: flex;
    height: 100rpx;
    background-color: #fff;
    border-top: 1rpx solid #eee;
}

.tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tab-icon {
    font-size: 40rpx;
    margin-bottom: 5rpx;
}

.tab-text {
    font-size: 24rpx;
    color: #999;
}

.tab-item.active .tab-text {
    color: #1aad19;
}